package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.hitrust.gs.service.GSBaseBean;
/**
 * GSProductStorageApepBean 2009-03-19
 */
public class GSProductStorageApepBean implements GSBaseBean{
    private String id;
    private String warehouse_code;
    private String warehouse_name;
    private String position_code;
    private String position_name;
    private String product_id;
    private String product_code;
    private double product_count;
    private double product_money;
    private String status;
    private String create_user_id;
    private String create_user;
    private String create_time;
    private String last_update_user_id;
    private String last_update_user;
    private String last_update_time;
    private String is_sync;
    private double product_price;
    private String balance_mode;
    private String provider_code;
    private String provider_name;
    private String product_time;
    private String concentricity_code;
    private String name;
    private String product_brand;
    private String model;
    private String spec;
    private String quality_assure_period;
    private String manufaturer;
    private String area;
    private String adapt_machine_type;
    private double min_count;
    private double max_count;
    private double fill_count;
    private String product_unit;
    private String apep_code;
    
    
    
    /**
     * @return the apep_code
     */
    public String getApep_code() {
        return this.apep_code;
    }
    /**
     * @param aApep_code the apep_code to set
     */
    public void setApep_code(String aApep_code) {
        this.apep_code = aApep_code;
    }
    /**
     * @return the product_unit
     */
    public String getProduct_unit() {
        return this.product_unit;
    }
    /**
     * @param aProduct_unit the product_unit to set
     */
    public void setProduct_unit(String aProduct_unit) {
        this.product_unit = aProduct_unit;
    }
    /**
    * @return the min_count
    */
    public double getMin_count(){
        return this.min_count;
    }
    /**
    * @param aMin_count the min_count to set
    */
    public void setMin_count(double aMin_count){
        this.min_count = aMin_count;
    }
    
    /**
     * @return the min_count
     */
     public double getMax_count(){
         return this.max_count;
     }
     /**
     * @param aMin_count the min_count to set
     */
     public void setMax_count(double aMax_count){
         this.min_count = aMax_count;
     }
     
    
    public double getFill_count(){
        return this.fill_count;
    }
    /**
    * @param aMin_count the min_count to set
    */
    public void setFill_count(double aFill_count){
        this.fill_count = aFill_count;
    }
    /**
    * @return the create_time
    */
    public String getCreate_time(){
        return this.create_time;
    }
    /**
    * @param aCreate_time the create_time to set
    */
    public void setCreate_time(String aCreate_time){
        this.create_time = aCreate_time;
    }
    /**
    * @return the product_brand
    */
    public String getProduct_brand(){
        return this.product_brand;
    }
    /**
    * @param aProduct_brand the product_brand to set
    */
    public void setProduct_brand(String aProduct_brand){
        this.product_brand = aProduct_brand;
    }
    /**
    * @return the last_update_user
    */
    public String getLast_update_user(){
        return this.last_update_user;
    }
    /**
    * @param aLast_update_user the last_update_user to set
    */
    public void setLast_update_user(String aLast_update_user){
        this.last_update_user = aLast_update_user;
    }
    /**
    * @return the provider_code
    */
    public String getProvider_code(){
        return this.provider_code;
    }
    /**
    * @param aProvider_code the provider_code to set
    */
    public void setProvider_code(String aProvider_code){
        this.provider_code = aProvider_code;
    }
    /**
    * @return the concentricity_code
    */
    public String getConcentricity_code(){
        return this.concentricity_code;
    }
    /**
    * @param aConcentricity_code the concentricity_code to set
    */
    public void setConcentricity_code(String aConcentricity_code){
        this.concentricity_code = aConcentricity_code;
    }
    /**
    * @return the id
    */
    public String getId(){
        return this.id;
    }
    /**
    * @param aId the id to set
    */
    public void setId(String aId){
        this.id = aId;
    }
    /**
    * @return the create_user_id
    */
    public String getCreate_user_id(){
        return this.create_user_id;
    }
    /**
    * @param aCreate_user_id the create_user_id to set
    */
    public void setCreate_user_id(String aCreate_user_id){
        this.create_user_id = aCreate_user_id;
    }
    /**
    * @return the product_code
    */
    public String getProduct_code(){
        return this.product_code;
    }
    /**
    * @param aProduct_code the product_code to set
    */
    public void setProduct_code(String aProduct_code){
        this.product_code = aProduct_code;
    }
    /**
    * @return the balance_mode
    */
    public String getBalance_mode(){
        return this.balance_mode;
    }
    /**
    * @param aBalance_mode the balance_mode to set
    */
    public void setBalance_mode(String aBalance_mode){
        this.balance_mode = aBalance_mode;
    }
    /**
    * @return the warehouse_code
    */
    public String getWarehouse_code(){
        return this.warehouse_code;
    }
    /**
    * @param aWarehouse_code the warehouse_code to set
    */
    public void setWarehouse_code(String aWarehouse_code){
        this.warehouse_code = aWarehouse_code;
    }
    /**
    * @return the product_count
    */
    public double getProduct_count(){
        return this.product_count;
    }
    /**
    * @param aProduct_count the product_count to set
    */
    public void setProduct_count(double aProduct_count){
        this.product_count = aProduct_count;
    }
    /**
    * @return the provider_name
    */
    public String getProvider_name(){
        return this.provider_name;
    }
    /**
    * @param aProvider_name the provider_name to set
    */
    public void setProvider_name(String aProvider_name){
        this.provider_name = aProvider_name;
    }
    /**
    * @return the product_money
    */
    public double getProduct_money(){
        return this.product_money;
    }
    /**
    * @param aProduct_money the product_money to set
    */
    public void setProduct_money(double aProduct_money){
        this.product_money = aProduct_money;
    }
    /**
    * @return the last_update_user_id
    */
    public String getLast_update_user_id(){
        return this.last_update_user_id;
    }
    /**
    * @param aLast_update_user_id the last_update_user_id to set
    */
    public void setLast_update_user_id(String aLast_update_user_id){
        this.last_update_user_id = aLast_update_user_id;
    }
    /**
    * @return the name
    */
    public String getName(){
        return this.name;
    }
    /**
    * @param aName the name to set
    */
    public void setName(String aName){
        this.name = aName;
    }
    /**
    * @return the quality_assure_period
    */
    public String getQuality_assure_period(){
        return this.quality_assure_period;
    }
    /**
    * @param aQuality_assure_period the quality_assure_period to set
    */
    public void setQuality_assure_period(String aQuality_assure_period){
        this.quality_assure_period = aQuality_assure_period;
    }
    /**
    * @return the position_code
    */
    public String getPosition_code(){
        return this.position_code;
    }
    /**
    * @param aPosition_code the position_code to set
    */
    public void setPosition_code(String aPosition_code){
        this.position_code = aPosition_code;
    }
    /**
    * @return the spec
    */
    public String getSpec(){
        return this.spec;
    }
    /**
    * @param aSpec the spec to set
    */
    public void setSpec(String aSpec){
        this.spec = aSpec;
    }
    /**
    * @return the product_id
    */
    public String getProduct_id(){
        return this.product_id;
    }
    /**
    * @param aProduct_id the product_id to set
    */
    public void setProduct_id(String aProduct_id){
        this.product_id = aProduct_id;
    }
    /**
    * @return the position_name
    */
    public String getPosition_name(){
        return this.position_name;
    }
    /**
    * @param aPosition_name the position_name to set
    */
    public void setPosition_name(String aPosition_name){
        this.position_name = aPosition_name;
    }
    /**
    * @return the adapt_machine_type
    */
    public String getAdapt_machine_type(){
        return this.adapt_machine_type;
    }
    /**
    * @param aAdapt_machine_type the adapt_machine_type to set
    */
    public void setAdapt_machine_type(String aAdapt_machine_type){
        this.adapt_machine_type = aAdapt_machine_type;
    }
    /**
    * @return the product_time
    */
    public String getProduct_time(){
        return this.product_time;
    }
    /**
    * @param aProduct_time the product_time to set
    */
    public void setProduct_time(String aProduct_time){
        this.product_time = aProduct_time;
    }
    /**
    * @return the status
    */
    public String getStatus(){
        return this.status;
    }
    /**
    * @param aStatus the status to set
    */
    public void setStatus(String aStatus){
        this.status = aStatus;
    }
    /**
    * @return the create_user
    */
    public String getCreate_user(){
        return this.create_user;
    }
    /**
    * @param aCreate_user the create_user to set
    */
    public void setCreate_user(String aCreate_user){
        this.create_user = aCreate_user;
    }
    /**
    * @return the last_update_time
    */
    public String getLast_update_time(){
        return this.last_update_time;
    }
    /**
    * @param aLast_update_time the last_update_time to set
    */
    public void setLast_update_time(String aLast_update_time){
        this.last_update_time = aLast_update_time;
    }
    /**
    * @return the is_sync
    */
    public String getIs_sync(){
        return this.is_sync;
    }
    /**
    * @param aIs_sync the is_sync to set
    */
    public void setIs_sync(String aIs_sync){
        this.is_sync = aIs_sync;
    }
    /**
    * @return the manufaturer
    */
    public String getManufaturer(){
        return this.manufaturer;
    }
    /**
    * @param aManufaturer the manufaturer to set
    */
    public void setManufaturer(String aManufaturer){
        this.manufaturer = aManufaturer;
    }
    /**
    * @return the model
    */
    public String getModel(){
        return this.model;
    }
    /**
    * @param aModel the model to set
    */
    public void setModel(String aModel){
        this.model = aModel;
    }
    /**
    * @return the warehouse_name
    */
    public String getWarehouse_name(){
        return this.warehouse_name;
    }
    /**
    * @param aWarehouse_name the warehouse_name to set
    */
    public void setWarehouse_name(String aWarehouse_name){
        this.warehouse_name = aWarehouse_name;
    }
    /**
    * @return the area
    */
    public String getArea(){
        return this.area;
    }
    /**
    * @param aArea the area to set
    */
    public void setArea(String aArea){
        this.area = aArea;
    }
    /**
    * @return the product_price
    */
    public double getProduct_price(){
        return this.product_price;
    }
    /**
    * @param aProduct_price the product_price to set
    */
    public void setProduct_price(double aProduct_price){
        this.product_price = aProduct_price;
    }
    
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSProductStorageApepBean tGSProductStorageApepBean=new GSProductStorageApepBean();
        tGSProductStorageApepBean.max_count = aResultSet.getDouble("max_count");
        tGSProductStorageApepBean.min_count = aResultSet.getDouble("min_count");
        tGSProductStorageApepBean.fill_count = aResultSet.getDouble("fill_count");
        tGSProductStorageApepBean.create_time = aResultSet.getString("create_time")==null?"":aResultSet.getString("create_time").trim();
        tGSProductStorageApepBean.product_brand = aResultSet.getString("product_brand")==null?"":aResultSet.getString("product_brand").trim();
        tGSProductStorageApepBean.last_update_user = aResultSet.getString("last_update_user")==null?"":aResultSet.getString("last_update_user").trim();
        tGSProductStorageApepBean.provider_code = aResultSet.getString("provider_code")==null?"":aResultSet.getString("provider_code").trim();
        tGSProductStorageApepBean.concentricity_code = aResultSet.getString("concentricity_code")==null?"":aResultSet.getString("concentricity_code").trim();
        tGSProductStorageApepBean.id = aResultSet.getString("id")==null?"":aResultSet.getString("id").trim();
        tGSProductStorageApepBean.create_user_id = aResultSet.getString("create_user_id")==null?"":aResultSet.getString("create_user_id").trim();
        tGSProductStorageApepBean.product_code = aResultSet.getString("product_code")==null?"":aResultSet.getString("product_code").trim();
        tGSProductStorageApepBean.balance_mode = aResultSet.getString("balance_mode")==null?"":aResultSet.getString("balance_mode").trim();
        tGSProductStorageApepBean.warehouse_code = aResultSet.getString("warehouse_code")==null?"":aResultSet.getString("warehouse_code").trim();
        tGSProductStorageApepBean.product_count = aResultSet.getDouble("product_count");
        tGSProductStorageApepBean.provider_name = aResultSet.getString("provider_name")==null?"":aResultSet.getString("provider_name").trim();
        tGSProductStorageApepBean.product_money = aResultSet.getDouble("product_money");
        tGSProductStorageApepBean.last_update_user_id = aResultSet.getString("last_update_user_id")==null?"":aResultSet.getString("last_update_user_id").trim();
        tGSProductStorageApepBean.name = aResultSet.getString("name")==null?"":aResultSet.getString("name").trim();
        tGSProductStorageApepBean.quality_assure_period = aResultSet.getString("quality_assure_period")==null?"":aResultSet.getString("quality_assure_period").trim();
        tGSProductStorageApepBean.position_code = aResultSet.getString("position_code")==null?"":aResultSet.getString("position_code").trim();
        tGSProductStorageApepBean.spec = aResultSet.getString("spec")==null?"":aResultSet.getString("spec").trim();
        tGSProductStorageApepBean.product_id = aResultSet.getString("product_id")==null?"":aResultSet.getString("product_id").trim();
        tGSProductStorageApepBean.position_name = aResultSet.getString("position_name")==null?"":aResultSet.getString("position_name").trim();
        tGSProductStorageApepBean.adapt_machine_type = aResultSet.getString("adapt_machine_type")==null?"":aResultSet.getString("adapt_machine_type").trim();
        tGSProductStorageApepBean.product_time = aResultSet.getString("product_time")==null?"":aResultSet.getString("product_time").trim();
        tGSProductStorageApepBean.status = aResultSet.getString("status")==null?"":aResultSet.getString("status").trim();
        tGSProductStorageApepBean.create_user = aResultSet.getString("create_user")==null?"":aResultSet.getString("create_user").trim();
        tGSProductStorageApepBean.last_update_time = aResultSet.getString("last_update_time")==null?"":aResultSet.getString("last_update_time").trim();
        tGSProductStorageApepBean.is_sync = aResultSet.getString("is_sync")==null?"":aResultSet.getString("is_sync").trim();
        tGSProductStorageApepBean.manufaturer = aResultSet.getString("manufaturer")==null?"":aResultSet.getString("manufaturer").trim();
        tGSProductStorageApepBean.model = aResultSet.getString("model")==null?"":aResultSet.getString("model").trim();
        tGSProductStorageApepBean.warehouse_name = aResultSet.getString("warehouse_name")==null?"":aResultSet.getString("warehouse_name").trim();
        tGSProductStorageApepBean.area = aResultSet.getString("area")==null?"":aResultSet.getString("area").trim();
        tGSProductStorageApepBean.product_price = aResultSet.getDouble("product_price");
        tGSProductStorageApepBean.product_unit=aResultSet.getString("product_unit")==null?"":aResultSet.getString("product_unit");
        tGSProductStorageApepBean.apep_code=aResultSet.getString("apep_code")==null?"":aResultSet.getString("apep_code");
        return tGSProductStorageApepBean;
    }
}